package com.campuscrowdsourcing.server.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author Xinyuan Zhao
 * @since 2023-03-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("task_check")
public class TaskCheck implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 申请人
     */
    @TableField("user_id")
    private Integer userId;

    /**
     * 任务
     */
    @TableField("task_id")
    private Integer taskId;

    /**
     * 审核状态
     */
    @TableField("state")
    private Boolean state;

    /**
     * 查看权限
     */
    @TableField("team_id")
    private Integer teamId;

    /**
     * 软删除
     */
    @TableField("is_deleted")
    @TableLogic
    private Integer isDeleted;


}
